package com.cug.zfanspring.bean;



import com.fasterxml.jackson.annotation.JsonIgnore;

import java.sql.Timestamp;

public class DeviceAlarm {
    private long id;
    private String serviceArea;
    private String equipmentNumber;
    @JsonIgnore
    private int state;
    private Timestamp date;
    @JsonIgnore
    private  boolean onlineState;

    public boolean isOnlineState() {
        return onlineState;
    }

    public void setOnlineState(boolean onlineState) {
        this.onlineState = onlineState;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getId() {
        return id;
    }


    public void setServiceArea(String serviceArea) {
        this.serviceArea = serviceArea;
    }

    public void setEquipmentNumber(String equipmentNumber) {
        this.equipmentNumber = equipmentNumber;
    }


    public String getServiceArea() {
        return serviceArea;
    }

    public String getEquipmentNumber() {
        return equipmentNumber;
    }

    public Timestamp getDate() {
        return date;
    }

    public void setDate(Timestamp date) {
        this.date = date;
    }
}
